import docx
import json

"""
with open(test_dirtxt','w',encoding="utf8") as fp:
    fp.writelines(['a\n','b\n','c\n','d'])
"""

"""
with open(ttest_dirdir) as fp:
    print(dir(fp))
    for line in fp:
        print(line,end='')
"""

#int将字符串转化为数字时会自动忽略两端的空白字符
#print(int('  4\n     '))

#print(dir(docx.Document))

"""
from os import listdir
from os.path import isfile,isdir,join,splitext
print(listdir('..\\'))
for fn in listdir('..\\'):
    print(isfile(join('..\\',fn)))
"""

import pptx
data=['a','b']
for k,v in enumerate(data):
    print(k,v)
for k,v in enumerate('abcde'):
    print(k,v)













